package com.uduemc.biso.core.feign.fallback;

import com.uduemc.biso.core.feign.SysHostTypeFeign;
import com.uduemc.biso.core.utils.RestResult;

import feign.hystrix.FallbackFactory;

public class SysHostTypeFeignFallback implements FallbackFactory<SysHostTypeFeign> {

	@Override
	public SysHostTypeFeign create(Throwable cause) {
		return new SysHostTypeFeign() {

			@Override
			public RestResult findAll() {
				return null;
			}
		};
	}

}
